﻿using MRSite.AutoMapper.Attributes;
using MRSite.Entity;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.EntityDto
{
    [AutoMapBoth(typeof(Withdrawal))]
    [ProtoContract]
    public class WithdrawalDto
    {
        [ProtoMember(1)]
        public int id { get; set; }

        [ProtoMember(2)]
        public String orderno { get; set; }

        [ProtoMember(3)]
        public int user_id { get; set; }

        [ProtoMember(4)]
        public String gathering { get; set; }

        [ProtoMember(5)]
        public String wxaccount { get; set; }

        [ProtoMember(6)]
        public String realname { get; set; }

        [ProtoMember(7)]
        public String bankname { get; set; }

        [ProtoMember(8)]
        public String bankaccount { get; set; }

        [ProtoMember(9)]
        public String account { get; set; }

        [ProtoMember(10)]
        public String zhihang { get; set; }

        [ProtoMember(11)]
        public Decimal txamount { get; set; }

        [ProtoMember(12)]
        public Decimal sfamount { get; set; }

        [ProtoMember(13)]
        public Decimal handlingfee { get; set; }

        [ProtoMember(14)]
        public double rates { get; set; }

        [ProtoMember(15)]
        public Decimal cxf_fee { get; set; }

        [ProtoMember(16)]
        public double cxf_rates { get; set; }

        [ProtoMember(17)]
        public DateTime addtime { get; set; }

        [ProtoMember(18)]
        public int status { get; set; }

        [ProtoMember(19)]
        public DateTime? checktime { get; set; }

        [ProtoMember(20)]
        public String remark { get; set; }

        [ProtoMember(21)]
        public String openid { get; set; }

        [ProtoMember(22)]
        public String out_trade_no { get; set; }

        [ProtoMember(23)]
        public String sn { get; set; }

        [ProtoMember(24)]
        public CustomerDto CustomerItem { get; set; }
    }
}
